#!/usr/local/bin/ruby -I/home/code4/public/app/lib:/home/code4/public/app/rb

print "Content-Type: text/html\n"
print "\n"

begin
  require 'batch_create_html'
rescue Exception => e
  print "<html><head></head><body>"
  print "Error:"
  print "\n"
  print e
  print "\n"
  print "backtrace:"
  print "\n"
  e.backtrace.each{|t|
    print t + "\n"
  }
  print "</body></html>"
end



